#include "Block.h"
#include "Rectangle.h"
#include "BlockColor.h"

void Block::Update(){
}

void Block::GetNextColor(){
	myColor++;
}

void Block::GetPreviewColor(){
	myColor--;
}

BlockColor Block::MyColor(){
	return myColor;
}

bool Block::IsCollidingWithPlayer(Player *player){
	
	return GetCollisionRect().Intersects(player->GetCollisionRect());
}